/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

.kbmap {
  overflow: hidden;
  height: calc(100vh - 285px);
  width: 100%;
  :global {
    .map-location-icon {
      width: 16px;
      height: 16px;
      border: 2px solid #fff;
      background-color: #0f89f5;
      border-radius: 50%;
      box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
    }
    .map-select-icon {
      width: 25px;
      height: 34px;
      background: url(//gaode.com/assets/img/poi-marker.png) no-repeat;
      background-size: 437px 267px;
      background-position: -359px -3px;
    }
    .map-top-bar {
      position: absolute;
      right: 16px;
      top: 16px;
      & > div,
      & > button {
        display: inline-block;
        vertical-align: top;
        margin-right: 8px;
        padding: 0;
        &:last-child {
          margin-right: 0;
        }
      }
      .map-fullscreen {
        box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);
      }
    }
  }
}

:global {
  .map-address-tips {
    .map-tips-detail,
    .map-tips-district {
      color: #999;
    }
    .map-tips-name strong {
      color: #1890ff;
      font-weight: 500;
    }
    .map-tips-detail {
      font-size: 12px;
    }
    & > div > span {
      margin-right: 5px;
      &:last-child {
        margin-right: 0;
      }
    }
  }
}
